#pragma once


#include "ScriptCompiler/AST/ExpressionNode.h"

class CLiteralNode : public CExpressionNode
{
public:
    CLiteralNode(std::weak_ptr<CScriptFileContext> InFile)
        : CExpressionNode(InFile, EASTNodeType::Literal)
    {
    }

    //literal value
    std::shared_ptr<CScriptToken> Value;

    virtual void DebugPrint(int32_t InDepth) override;

    virtual std::shared_ptr<CScriptToken> GetFirstToken() override { return Value; }
};